package express.bttree;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 作者：陈宏鸿
 * 功能：行为树节点抽象
 */

@Data
public abstract class Node {
    protected List<Node> children = new ArrayList<>();
    public abstract State execute(Object target) ;
}
